package com.slz3.business.module.goodsManagement.gooOutWarehouse.service;

import com.slz3.business.module.goodsManagement.gooOutWarehouse.domain.GooOutWarehouse;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;

/**
 * 非事务型 service
 */
public interface GooOutWarehouseService {

    GooOutWarehouse save(GooOutWarehouse gooOutWarehouse);

    Page<GooOutWarehouse> page(MultiValueMap<String, String> queryParams);

    GooOutWarehouse modify(GooOutWarehouse gooOutWarehouse);

    Optional<GooOutWarehouse> single(UUID uuid);

    List<GooOutWarehouse> findAllByUuids(Iterable<UUID> uuids);

    List<GooOutWarehouse> delete(List<GooOutWarehouse> gooOutWarehouseList);

}
